package com.ruoyi.asset.mapper;

import com.ruoyi.asset.domain.*;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AssetCategoryMapper {

    String getId();

    Boolean repeatByPath(@Param("path") String path);

    Boolean repeatById(@Param("id") String id);

    String findParentPath(@Param("parentId") String parentId);

    Integer findLevelByParentId(@Param("parentId") String parentId);

    Integer verifyByProduct(AssetsCategoryDeleteVo evt);

    List<AssetsCategoryTreeVo> categoryTree(GetAssetsCategoryTreeVo evt);

    AssetsCategoryInfoVo categoryInfo(GetAssetsCategoryInfoVo evt);

/*    Integer findListCount(GetAssetsListVo evt);

    List<ProductListVo> findList(GetAssetsListVo evt);*/

//    ProductInfoVo get(GetAssetsInfoVo evt);

    String getObjectModel(GetAssetsInfoVo evt);

    Integer categoryInsert(AssetsCategoryChangeVo evt);

    Integer categoryUpdate(AssetsCategoryChangeVo evt);

    Integer categoryDelete(AssetsCategoryDeleteVo evt);

}
